package com.woniu.humanresource.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName accets
 */
@TableName(value ="accets")
@Data
public class Accets implements Serializable {
    /**
     * 资产ID
     */
    @TableId(value = "accets_id", type = IdType.AUTO)
    private Integer id;

    /**
     * 资产名称
     */
    @TableField(value = "accets_name")
    private String name;

    /**
     * 资产编号

     */
    @TableField(value = "accets_num")
    private String num;

    /**
     * 资产类别

     */
    @TableField(value = "accets_category")
    private String category;

    /**
     * 规格型号

     */
    @TableField(value = "accets_model")
    private String model;

    /**
     * 计量单位

     */
    @TableField(value = "accets_unit")
    private String unit;

    /**
     * 序列号

     */
    @TableField(value = "accets_serialnumber")
    private String serialnumber;

    /**
     * 资产来源

     */
    @TableField(value = "accets_woher")
    private String woher;

    /**
     * 购入日期

     */
    @TableField(value = "accets_purchasedate")
    private Date purchasedate;

    /**
     * 所属部门

     */
    @TableField(value = "accets_department")
    private String department;

    /**
     * 购入价格

     */
    @TableField(value = "accets_purchaseprice")
    private BigDecimal purchaseprice;

    /**
     * 使用部门

     */
    @TableField(value = "accets_userdepartment")
    private String userdepartment;

    /**
     * 使用人

     */
    @TableField(value = "accets_user")
    private String user;

    /**
     * 存放仓库

     */
    @TableField(value = "accets_warehouse")
    private String warehouse;

    /**
     * 附件

     */
    @TableField(value = "accets_enclosure")
    private String enclosure;

    /**
     * 状态
     */
    @TableField(value = "accets_status")
    private Integer status;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}